from typing import List


class Solution:
    def numSubarrayBoundedMax(self, nums: List[int], left: int, right: int) -> int:



if __name__ == '__main__':
    nums = [2,1,4,3]
    left = 2
    right = 3
    solution = Solution()
    val = solution.numSubarrayBoundedMax()
    print(val)